<div class="form_border user_login">
	<ul class="form_tab">
		<li class="current"><a href="<?php echo site_url("user/login")?>">登录</a></li>
		<li><a href="<?php echo site_url("user/register")?>">注册账号</a></li>
	</ul>
	<div class="clear"></div>
	<form action="" method="post">
		<?php if(!empty($error_message)) {?><div class="form_wrong_tip"><?php echo $error_message;?></div><?php }?>
		<div class="form_row">
			<label class="input_label" for="user_id">信箱 / 昵称：</label><input type="text" class="input_text" name="user_id" id="user_id" value="<?php echo empty($nickname) ? '' : $nickname;?>"/>
		</div>
		<div class="form_row">
			<label class="input_label" for="password">密码：</label><input type="password" class="input_text" name="password" id="password" value="<?php echo empty($pass) ? '' : $pass;?>"/>
			&nbsp;&nbsp;&nbsp;&nbsp;<a href="/user/forget_password">忘记密码</a>
		</div>
		<div class="form_action">
			<input type="checkbox" name="remember_password" id="remember_password" class="input_checkbox"><label for="remember_password">记住密码</label>
			<input type="submit" class="input_button" value="登录"/>
		</div>
	</form>
</div>